(function() {
	var cfg = {
		paths : {
			'jquery' : 'jquery/jquery',
			'angular' : 'angular/angular.min',
			'bootstrap' : 'bootstrap/js/bootstrap.min',
			'ctrl-login' : 'js/ctrl-login'
		},
		shim : {
			'bootstrap' : {
				deps : [ 'jquery', 'css!\\bootstrap/css/bootstrap.min.css', 'css!css/ui.css', 'css!css/sc.css' ]
			},
			angular : {
				deps : [ 'jquery' ],
				exports : 'angular'
			},
			'ctrl-login' : {
				deps : [ 'angular' ]
			}
		},
		deps : [ 'bootstrap' ],
	}
	require.config(cfg);
	require([ 'angular', 'require', 'jquery', 'ctrl-login' ], function(angular, require, $) {
		angular.element(document).ready(function() {
			angular.bootstrap(document, [ 'sc.login' ]);
		});
	})
})()